|
RtnTransmitFrame is called when the filter wants to transmit a frame (pointed to by the parameter mp). This function is also used when an application wants to transmit a frame that bypasses the RtxTcpIp Stack. The frame is in a structure format required by the RtxTcpIp Stack, which the filter does not need to know. The filter should use the RtnDecodePacket routine to obtain the network device (ndp), data pointer and data length for the frame.
NOTE: Developers must determine the MAC address of the target destination themselves, using other third-party (that is, non-RTX) utilities.
Syntax
BOOL RtnTransmitFrame( void *mp );
Parameters
mp
Pointer to a frame to transmit.
Return Values
TRUE if the frame is transmitted successfully. FALSE on failure.
Requirements
Header | Rtnapi.h |
Library | Rtxtcpip.lib |